cmake_minimum_required(VERSION 3.8)
project(MatClass)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3")
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(MatClass MatClass.cpp)
target_link_libraries(MatClass ${OpenCV_LIBS})
